package com.example.config;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.example.bean.SystemBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 胡成
 * @Version: 0.0.1V
 * @Date: 2019-04-02
 * @Description: 配置类
 **/
@Configuration
@EnableApolloConfig
public class Config {

    @Bean
    public SystemBean systemBean() {
        return new SystemBean();
    }

}
